<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="map">

</div>

<button id = "btn"> +  </button>

<style>
    #map {
        width: 300px;
        height: 300px;
        background: #CCC;
    }

</style>

<script>
    const btn = document.querySelector("#btn");
    btn.addEventListener("click",function(){
         const dom = document.querySelector("#map");
         console.log("dom")

    })
</script>
</body>
</html>
